<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isErrorPage="true" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>..:: Exception ::..</title>
<link href="css/estilos.css" rel="stylesheet">
</head>
<body>

<FONT face="Verdana, Arial,Helvetica, sans-serif"
            size="2" color="#009999" align="left">

<div align="center">
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="10%"><img src="images/tazks2.jpg" width="180" height="220" 	border="0"></td>
		<td width="90%"><h2>Ocurrio una excepcion:</h2> 
			<br><font color="green"><b><%= exception.getMessage() %></b></font>
			<br>Codigo de Status  :<font color="red">
		 		<%= request.getAttribute("javax.servlet.error.status_code") %></font>
			<br>Tipo de Excepcion :<font color="red">
		 		<%= request.getAttribute("javax.servlet.error.exception_type") %></font>
			<br>Mensaje de Error  :<font color="red">
		 		<%= request.getAttribute("javax.servlet.error.message") %></font>
			<br>Excepcion         :<font color="red">
		 		<%= request.getAttribute("javax.servlet.error.exception") %></font>
			<br>URI origen        :<font color="red">
		 		<%= request.getAttribute("javax.servlet.error.request_uri") %></font>
			<br>
			<a>/principal.jsp >Regresar al Inicio </a>
		</td>
	</tr>
	<tr>
		<td>
		

	</tr>
</table>
</div>

</font>
<!-- FUENTE: 
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/servlets/HandlingServletExceptions/HandlingServletExceptions.html 
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html
-->
</BODY>
</HTML>
